The Overall Structure

Processing a web requires three major steps:

  1. Read the source, accumulating file names, macro names, scraps, and lists of cross-references.
  2. Reread the source, copying out to the .tex file, with protection and cross-reference information for all the scraps.
  3. Traverse the list of files names. For each file name:
    1. Dump all the defining scraps into a temporary file.
    2. If the file already exists and is unchanged, delete the temporary file; otherwise, rename the temporary file.



Subsections